#include <stdio.h>
#include <locale.h>
#include <string.h>

int main(int argc, const char *argv[])
{
        char passwd[] = "password";
        if (argc < 2) {
                printf("%s:%s <passwd>\n",__func__, argv[0]);
                return -1;
        }

        setlocale(LC_ALL, "");

        if (!strcmp(passwd, argv[1])) {
                printf("%s:Correct passwd\n",__func__);
                return -1;
        }

        printf("%s:Invalid Passwd!\n",__func__);

        return 0;
}
